package cn.daomeng.firebird.core.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;

/**
 * @author wf.shu
 * @since
 */
@RestController
@Api(tags = "HelloWorld")
public class HelloWorldController {
	@RequestMapping(value = "hello", method = {RequestMethod.HEAD,RequestMethod.GET})
	public String sayHello(HttpServletRequest request) {
		return "Hello!";
	}
}
